import type { RouterProps } from 'react-router-dom';
// import Info from '@/view/task/info';
import React, { lazy } from 'react';
import type { routesType } from '@/router/router';
import MicroVue from '../view/microvue';
import MicroReact from '../view/microreact';

const routes: routesType[] = [
  {
    redirect: true,
    from: '/app',
    to: '/app/home',
    exact: true,
  },
  {
    path: '/app/home',
    name: 'app-home',
    component: lazy(
      () => import(/* webpackChunkName:"App" */ '../view/home/index')
    ),
    meta: {},
  },
  // {
  //   path: '/app/loong3/home',
  //   name: 'app-loong3',
  //   component: MicroVue,
  //   meta: {},
  // },
  // {
  //   path: '/app/micro/home',
  //   name: 'app-microjz-react',
  //   component: MicroReact,
  //   meta: {},
  // },
  // {
  //   redirect: true,
  //   to: '/task',
  // },
];

export default routes;
